<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<html>
<head>
<title>案件信息统计</title>
<%@include file="/common/ec.jsp"%>
<%@include file="/common/meta.jsp"%>
</head>
<body>
<div class="x-panel">
<div class="x-panel-header">案件信息统计信息</div>
<div class="x-toolbar">
<table width="99%">
  <tr>
    <s:form action="countIndex.do" method="post">
    	<td width="60">所属区县：</td>
	    <td width="150">
            <s:select id="regionMap" list="%{regionMap}" name="model.region" headerKey="" headerValue="--请选择--"
	              cssStyle="width:130px;"/>	 
		</td>
	    <td width="60">案件类型：</td>
	    <td width="150">
            <s:select id="caseType" list="%{caseTypeMap}" name="model.caseType" headerKey="" headerValue="--请选择--"
	              cssStyle="width:130px;"/>	 
		</td> 	  
	    <td>
	    <input type="submit" value="统计" class="button" />  
	    <!--   
	    <a href="${ctx}/admin/cases/front.do" target="_blank">前台统计</a>
	     -->
		</td> 		 
    </s:form>
  </tr>
</table>
</div>
<div class="x-panel-body">
<div style="margin-left: -3px;" align="center">
<ec:table
  items="items" var="item" retrieveRowsCallback="process" sortRowsCallback="process" 
  action="countIndex.do" 
  useAjax="false"
  doPreload="false" 
  pageSizeList="20,50,100,200" 
  editable="false"
  sortable="true" 
  rowsDisplayed="20" 
  generateScript="true"
  resizeColWidth="false" 
  classic="false" 
  width="100%" 
  height="400px"
  minHeight="400"
  toolbarContent="navigation|pagejump|pagesize|refresh|extend|status">
  <ec:row>
    <ec:column width="40" property="_num" title="No." value="${GLOBALROWCOUNT}" sortable="false" style="text-align:center"/> 
    <ec:column width="150" property="region" title="所属区县" mappingItem="regionMap" style="text-align:left"/>
    <ec:column width="150" property="caseType" title="案件类别" mappingItem="caseTypeMap" style="text-align:center"/>
    <ec:column width="150" property="_0" title="案件个数"  style="text-align:center">  
     <a href="${ctx}/admin/cases/index.do?model.region=${item.region}&model.caseType=${item.caseType}" title="查看明细" >
     &nbsp;<font color="blue">${item.inputer}</font>&nbsp;
     </a> 
    </ec:column>                                               
  </ec:row>
</ec:table>
</div>
</div>
</div>
</body>
</html>